package com.ethink.platform.util.model;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * 吉客云开放平台分页查询网店售后单接口响应结果类
 *
 * @Author: lzy
 * @Date: Created in 2023/1/12 9:45
 * ModifiedBy:
 * Version:
 */
@Data
public class JackyunOmsBusinessRefundListResponse {
    private Integer Count;

    private List<TradeAfterOnline> tradeAfterOnlineDtoArr;

    @Data
    private static class TradeAfterOnline {
        private Order tradeAfterOnlineDTO;

        private List<Goods> tradeAfterOnlineGoodsDTOList;

        @Data
        private static class Order {
            private String address;

            private String buyerMemo;

            private String city;

            private Integer curStatus;

            private String curStatusExplain;

            private String customerAccount;

            private String customerName;

            private String district;

            private String extra;

            private String gmtCreate;

            private String gmtModified;

            private String goodsStatus;

            private String goodsStatusExplain;

            private Integer hasGoodsReturn;

            private Integer isPost;

            private String logisticName;

            private String mainPostid;

            private String mobile;

            private String name;

            private String oaid;

            private String orderStatus;

            private String orderStatusExplain;

            private String phone;

            private Integer platId;

            private String platName;

            private String platOrderNo;

            private String province;

            private String reason;

            private BigDecimal refundAmount;

            private String refundDesc;

            private String refundNo;

            private Integer refundPhase;

            private String refundPhaseExplain;

            private String refundStatus;

            private String refundStatusExplain;

            private String refundTimeCreate;

            private String refundTimeModified;

            private Integer refundType;

            private String sellerMemo;

            private String shopId;

            private String shopName;

            private String sysFlagIds;

            private String town;

            private String tradeAfterOnlineId;

            private String warehouseName;
        }

        @Data
        private static class Goods {
            private String barcode;

            private BigDecimal discountFee;

            private String goodsId;

            private String goodsName;

            private String goodsNo;

            private Integer isFit;

            private Integer isGift;

            private Integer isVirtual;

            private String outerId;

            private String outerSkuId;

            private String platGoodsId;

            private String platSkuId;

            private BigDecimal price;

            private String reasonDesc;

            private BigDecimal sellCount;

            private BigDecimal sellTotal;

            private String specId;

            private String specName;

            private String subPlatOrderNo;

            private String tradeAfterOnlineId;

            private String tradeGoodsName;

            private String tradeGoodsSpec;

            private String type;

            private String unit;
        }
    }
}
